<div class="batch-second">
    <div class="details-collapse clearfix">
        <h3><span>batch <span class="createdVenueBatchCount create_venue_0_batchcounter" id="create_venue_0_batch_counter_0">1</span></span> <span class="buttom-exp pull-right"><em class="sprite dw-arrow"></em></span> </h3>
    </div> 
    <div class="uncollapse clearfix">
        <div class="clearfix">
            <div class="col-lg-4 col-md-4 col-sm-4 column4 course-pdl">
                <?php echo $form->labelEx($model, 'start_date'); ?>           
                <input type="hidden" name="batchIndex[0][]" value="0">                              
                <input  name="ClassBatch[ClassVenue][0][start_date][]" autocomplete="on" id="class_venue_0_classbatch_start_date_0" type="text" class="requiredfield hasDatepicker span2 form-control book-control" onblur="checkValueEmpty(this.id)" onkeyup="hasDatepicker(this.id)" onclick="hasDatepicker(this.id)" onpaste="return false;">
                <div class="errorMessage" id="error_class_venue_0_classbatch_start_date_0" style="display:none">Start date cannot be blank.</div>
            </div>
            <div class="col-lg-4 col-md-4 col-sm-4 column4">
                <?php echo $form->labelEx($model, 'start_time'); ?>
                <div class="input-append bootstrap-timepicker time-sin">
                    <input  name="ClassBatch[ClassVenue][0][start_time][]" id="class_venue_0_classbatch_start_time_0" type="text" class="requiredfield hastimePicker add-on book-control time-sin" onpaste="return false;" onkeyup="hastimePicker(this.id);" onclick="hastimePicker(this.id);" onchange="timeCheck(this.id);">
                    <div class="errorMessage" id="error_class_venue_0_classbatch_start_time_0" style="display:none">Start time cannot be blank.</div>
                </div> 
            </div>
            <div class="col-lg-4 col-md-4 col-sm-4 course-pdr column4">
                <?php echo $form->labelEx($model, 'end_time'); ?>
                <div class="input-append bootstrap-timepicker time-sin">
                    <input  name="ClassBatch[ClassVenue][0][end_time][]" id="class_venue_0_classbatch_end_time_0" type="text" class="hastimePicker requiredfield add-on book-control time-sin" onpaste="return false;"  onkeyup="hastimePicker(this.id);" onclick="hastimePicker(this.id);" onchange="timeCheck(this.id);">
                    <div class="errorMessage" id="error_class_venue_0_classbatch_end_time_0" style="display:none">End time cannot be blank.</div>
                    <div class="errorMessage" id="endTime_class_venue_0_classbatch_end_time_0"></div>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="clearfix">
            <div class="col-lg-5 col-md-5 col-sm-5 column5 course-pdl">
                <?php echo $form->labelEx($model, 'price'); ?>
                <input  name="ClassBatch[ClassVenue][0][price][]" id="class_venue_0_classbatch_price_0" type="text" onkeypress="return isNumberKey(event)" onblur="checkValueEmpty(this.id)"class="requiredfield form-control book-control" >
                <div class="errorMessage" id="error_class_venue_0_classbatch_price_0" style="display:none">Price cannot be blank.</div>
            </div>

            <div class="col-lg-5 column5 col-lg-offset-2 col-md-4 col-md-offset-2 col-sm-5 course-pdr">
                <?php echo $form->labelEx($model, 'seats'); ?>
                <input  name="ClassBatch[ClassVenue][0][seats][]" id="class_venue_0_classbatch_seats_0" type="text"  onblur="checkValueEmpty(this.id)" onkeypress="return isNumberKey(event)" class="requiredfield form-control book-control">
                <div class="errorMessage" id="error_class_venue_0_classbatch_seats_0" style="display:none">Seats cannot be blank.</div>
            </div>
        </div>
        <!--batch second form end here-->   
        <div class="batch-disc">
            <h4>Batch discounts:</h4>
            <?php /* .......................          Here is the early discount code start................ */ ?>
            <div id="venue_0_batch_0_earlydiscount"></div>
            <div class="form-group">
                <div class="col-lg-3 col-md-3 col-sm-3 column3 add-disc course-pdl">
                    <a href="javascript:void(0)" id="venue_0_batch_0_earlydiscount_0" onclick="addEarlyDiscount(this.id);">+ Add early discounts</a>                  
                </div>
            </div>
            <?php /* .......................          Here is the early discount code end................ */ ?>

            <?php /* .......................          Here is the group discount code start................ */ ?>
            <div id="venue_0_batch_0_groupdiscount"></div>
            <div class="form-group">
                <div class="col-lg-3 col-md-3 col-sm-3 column3 add-disc course-pdl">
                    <a href="javascript:void(0)" id="venue_0_batch_0_groupdiscount_0" onclick="addGroupDiscount(this.id);">+ Add group discount</a>
                </div>
            </div>
            <?php /* .......................          Here is the group discount code end ................ */ ?>
            <?php /* .......................          Here is the custome session code start................ */ ?>
            <div class="form-group">
                <div class="col-lg-3 col-md-3 col-sm-3 column3 course-pdl">
                    <label for="add-session">Add session:</label>
                    <?php echo CHtml::dropDownList('ClassBatch[ClassVenue][0][schedule_id][]', '12', getAllSchedule('class'), array('class' => 'form-control book-control getschedule_venue_0_batch_0', 'id' => 'addvenue_0_batch_0_schedule_id_0', 'onchange' => 'addCustomeSchedule(this.id);')); ?>  
                    <span class="class-arrow1"></span></div> <div class="clearfix gap"></div>
                <div id="venue_0_batch_0_schedule"></div>
                <div class="showSession_venue_0_batch_0_schedule" style="clear: both; display: none;"><p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_schedule_id_0" onclick="addCustomeSchedule(this.id);">Add Session</a></p></div>

            </div> 
            <?php /* .......................         Here is the custome session code end................ */ ?>
        </div>
        <div class="class-struct">
            <h4>class structure:</h4> 
            <?php $this->renderPartial('/classStructures/_classStructureform', array('form' => $form)); ?>  
        </div>
        <?php /* .......................         Here is the class structure code end................ */ ?>
    </div>
</div>